Component({
  properties: {
    activityShow:{
      type: Boolean,
      value:false
    },
    zIndex: {
      type: Number,
      value: 5000
    },
    activeList:{
      type:Object,
      value:[],
    }
  },
  options: {
    multipleSlots: true,
    addGlobalClass: true
  },
  observers: {
    activeList:function (){
      // this.setData({activeList:this.activeList})
    }
  },
  data: {
    //content高度
    contentHeight: 20,
    title:"优惠",
    activeList:[]
  },
  methods: {
    //设置spec组件隐藏
    closeDialog() {
      this.setData({ activityShow: false })
    },
    //监听高度
    handleContentHeight(e) {
      this.setData({ contentHeight: e.detail })
    },
  },
})
